home *** CD-ROM | disk | FTP | other *** search
- DEFAULT.MOD
- Flyer #1 @9438
- Sat Dec 21 16:14:29 1991
- ┌────────────────────────────────────────────────────────────────────────────┐
- │ Mod Name: DEFAULT.MOD Mod Author: Flyer 1@9438 │
- │ Difficulty: █▒ Date: December 21, 1991 │
- │ WWIV Version: 4.2 │
- │ Description: Makes the defaults section colorized, and just makes it │
- │ look alot better. │
- └────────────────────────────────────────────────────────────────────────────┘
-
- After modding my board alot, most of the board looked really nice and
- colorful except for one part of it. That was the defaults section.
- Whenever I would hit 'D' for defaults, it would just come up colorless,
- and it just didn't look good. So I made the whole Defaults menu look
- different.
-
-
- 1) Back up your source (Why am I even saying this?)
-
- 2) Load up DEFAULTS.C, and go down to around line 55, or search for
- void print_cur_stat().
-
- 3) All this mod really requires is a block copy, so just delete the entire
- void, and replace it with mine. Here is the new void:
-
-
- void print_cur_stat()
- {
- char s[81],s1[81],s2[81];
- userrec ur;
-
- outchr(12);
-
- pl("7══════════════════════╗");
- pl("4 Defaults 7║");
- pl("7══════════════════════╣");
- npr("21. Screen size 7║ 1%d X %d\r\n",
- thisuser.screenchars,
- thisuser.screenlines);
- npr("22. ANSI 7║ 1%s\r\n",
- (thisuser.sysstatus & sysstatus_ansi)?
- ((thisuser.sysstatus & sysstatus_color)? "Color":"Monochrome"):
- "No ANSI");
- npr("23. Pause on screen 7║ 1%s\r\n",
- (thisuser.sysstatus & sysstatus_pause_on_page)?"On":"Off");
- outstr("24. Mailbox 7║ 1");
- if ((thisuser.forwardsys==0) && (thisuser.forwardusr==0))
- pl("Normal");
- else {
- if (thisuser.forwardsys) {
- sprintf(s,"Forward to #%u @%u.",thisuser.forwardusr,thisuser.forwardsys);
- pl(s);
- } else {
- read_user(thisuser.forwardusr,&ur);
- if (ur.inact & inact_deleted) {
- thisuser.forwardusr=0;
- pl("Normal");
- } else {
- sprintf(s,"Forward to %s",nam(&ur,thisuser.forwardusr));
- pl(s);
- }
- }
- }
- pl("25. Configured Q-scan 7║");
- pl("26. Change password 7║");
- pl("27. Update macros 7║");
- if (okansi()) {
- pl("28. Change colors 7║");
- npr("29. Full screen editor 7║ 1%s\r\n",
- ((thisuser.defed) && (thisuser.defed<=numed))?
- editors[thisuser.defed-1].description:"None.");
- npr("2A. Extended colors 7║ 1%s\r\n",
- (thisuser.sysstatus & sysstatus_funky_colors)?"Yes":"No");
- }
- npr("2B. Optional lines 7║ 1%d\r\n",thisuser.optional_val);
- if (thisuser.wwiv_regnum)
- npr("2W. WWIV reg num 7║ 1%ld\r\n",thisuser.wwiv_regnum);
- else
- pl("2W. WWIV reg num 7║ 1<NONE>");
- pl("2Q. Quit to main menu 7║");
- pl("7══════════════════════╝");
- nl();
- }
-
- 4) Copy your new BBS.EXE, and go look at it and see if it looks ok.
-
- Thats it!!!!
-
- As a favor to me, please email me and tell that you have seen this mod
- around, and that you decided to install it. I would like to know how it
- got around.
-
- Flyer - 12/21/91
- 5⌠ 5⌠
- 5═════════╡ 2Sky Harbor 7■ 2Jacksonville7,2 FL 7■ 2(904) 744-6241 5╞═════════
- 5⌡ 1Auto Validation for Sysops. WWIV Support 5⌡
- 3WWIVnet @9438 Call Now!!